package com.weiyuwqj.api.service;

import com.weiyuwqj.api.model.BasUserInfo;
import com.weiyuwqj.api.base.BaseService;


import java.util.Map;

/**
 * Created by huzj on 2016/8/19.
 */
public interface BasUserInfoService extends BaseService<BasUserInfo>{

    //根据userId查询单条信息
    BasUserInfo getOneByUserId(Integer userId);

    //根据userId修改提现限制
    Integer modifyCashLimit(Integer newStatus, Integer oldStatus,Integer userId);

    //根据userId修改出生地，居住地
    Integer modifyAddressByUserId(BasUserInfo info);

    void avatarUpload(Integer userId, String url);

    void addOpenIdByUserId(Map map);
}


